package com.acpt.system.converter;
import com.acpt.system.pojo.entity.SysDept;
import com.acpt.system.pojo.form.DeptForm;
import com.acpt.system.pojo.vo.dept.DeptVO;
import org.mapstruct.Mapper;

/**
 * 部门对象转换器
 */
@Mapper(componentModel = "spring")
public interface DeptConverter {

    DeptForm entity2Form(SysDept entity);

    DeptVO entity2Vo(SysDept entity);

    SysDept form2Entity(DeptForm deptForm);

}
